package com.sunxu.exercise8;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-08-03-21:01
 */
public class Run {
    public static void main(String[] args) {
        DBTools dbTools = new DBTools();

        for (int i = 0; i < 20; i++) {
            BackupB output = new BackupB(dbTools);
            output.start();
            BackupA input = new BackupA(dbTools);
            input.start();
        }
    }
}
